projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0cdb53
)
scsi: ceva: Start port in probe
author
Michal Simek
<
[email protected]
>
Thu, 2 Nov 2017 14:45:34 +0000
(15:45 +0100)
committer
Michal Simek
<
[email protected]
>
Fri, 3 Nov 2017 08:31:27 +0000
(09:31 +0100)
The patch:
"dm: ahci: Unwind the confusing init code"
(sha1:
7cf1afce7fa3fe64189020fe14b93f7326dd0758
)
introduce bug for ceva sata because port didn't start.
On the other hand the dwc_ahci.c was fixed correctly.
Do the same change for ceva too.
Signed-off-by: Michal Simek <
[email protected]
>
Tested-by: Mian Yousaf Kaukab <
[email protected]
>
drivers/ata/sata_ceva.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_ceva.c
b/drivers/ata/sata_ceva.c
index d582e5ba80f0f86e0d65f673335e6003e245ac90..3ef7b49215c432c6272b0dc2f47e4832da1559cf 100644
(file)
--- a/
drivers/ata/sata_ceva.c
+++ b/
drivers/ata/sata_ceva.c
@@
-113,11
+113,16
@@
static int ceva_init_sata(ulong mmio)
static int sata_ceva_probe(struct udevice *dev)
{
+ int ret;
struct scsi_platdata *plat = dev_get_uclass_platdata(dev);
ceva_init_sata(plat->base);
- return achi_init_one_dm(dev);
+ ret = achi_init_one_dm(dev);
+ if (ret)
+ return ret;
+
+ return achi_start_ports_dm(dev);
}
static const struct udevice_id sata_ceva_ids[] = {